package com.zb;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.http.converter.cbor.MappingJackson2CborHttpMessageConverter;
import org.springframework.transaction.annotation.Transactional;

@Transactional
@SpringBootApplication
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

    public MappingJackson2CborHttpMessageConverter messageConverter() {
        return new MappingJackson2CborHttpMessageConverter();
    }
}
